@echo off

:: Get MSBuild.exe directory.
set MS_BUILD="%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"

if not exist %MS_BUILD% (
	echo Cannot find .NET Framework 4.0.
	pause
	exit
)

:: Build library.
%MS_BUILD% Build.proj

if not %ERRORLEVEL%==0 (
	pause
	exit
)